import axios from 'axios';

export function onWorkflowApprove(data) {
    return axios({
        method: 'post',
        url: '/workflow/approve',
        data,
        headers: {
            'Cache-Control': 'no-cache',
        }
    })
}

export function onWorkflowReject(data) {
    return axios({
        method: 'post',
        url: '/workflow/reject',
        data,
        headers: {
            'Cache-Control': 'no-cache',
        }
    })
}